{include file="steps/headStep.tpl"}

<h2 class="bigger">Escolha o Atributo de Exibição dos ComboBox</h2>
<table class="table" cellspacing="0" width="100%">
    <thead>
        <tr>
            <th scope="col">Tabela</th>
            <th scope="col" class="table-actions">Atributos</th>            
        </tr>
    </thead>

{foreach $tablesMeta as $tb}
    {$tbName = $tb->getName()}
    <tr>
        <td>{$tbName|capitalize}</td>
        <td>
            <select name="{$tbName}">
            
            {foreach $tb->getAttributes() as $att} 
                <option value="{$tbName}:{$att->getName()}" {if $att->isComboDisplay()} selected="true" {/if}>{$att->getName()}</option>
            {/foreach}
                
            </select> 
        </td>
   </tr>
 {/foreach}

</table>